<?php 
	
		session_start();
		include('system/db/conn.php');
		$cod = rand(0,999999);
		$user_name = $_SESSION['userFind'];
		$password = MD5("".$cod);
		//var_dump($content);
$sql = "update do_user set user_pwd='$password' where user_name='".$user_name."'";

if(mysql_query($sql,$conn)){
	echo "yes,".$cod;
}else{
	echo "no,error";
}

		


?>